<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>requireJS例子</title>
    <style type="text/css">
        .wrapper{
            width: 200px;
            height: 200px;
            background: gray;
        }
    </style>
</head>
<body>
    <div class="wrapper"></div>
    <script data-main="js/main" src="../libs/require.js"></script>
</body>
</html>